package cn.itsource.ymcc.service;

import cn.itsource.ymcc.domain.Course;
import cn.itsource.ymcc.result.JsonResult;
import cn.itsource.ymcc.vo.CourseVo;
import cn.itsource.ymcc.vo.OnlineCourseVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zongchangjiang
 * @since 2023-06-26
 */
public interface ICourseService extends IService<Course> {
    boolean updateById(CourseVo entity);
    boolean save(CourseVo entity,String username,Long id);

    JsonResult getAllDetail(Long id);

    JsonResult onLineCourse(OnlineCourseVo onlineCourseVo);

    JsonResult detailData(Long courseId);
}
